package assfur.eran.config;

import assfur.eran.utils.GsonUtils;

public class ConfigManger {
    private static ConfigManger mInstance;

    public static ConfigManger getInstance() {
        if (mInstance == null) {
            mInstance = new ConfigManger();
        }
        return mInstance;
    }

    private MetaConfig mMeta;

    public void initialize(String _configPath) {
        mMeta = GsonUtils.getInstance().getJsonObjectFromFile(_configPath, MetaConfig.class);
    }

    public MetaConfig getMeta() {
        return mMeta;
    }

}
